package com.bwie.service;

import com.bwie.bean.Canteen;
import com.bwie.bean.City;
import com.bwie.bean.Food;
import com.bwie.bean.User;

import java.util.List;
import java.util.Map;

public interface CanteenService {
    List<Canteen> list(Map map);

    List<Food> listFood();

    List<City> listCity(Integer pid);

    int add(Canteen canteen, Integer[] fids);

    int del(Integer cid);

    int dels(String cid);

    int update(Canteen canteen, Integer[] fids);

    Canteen listHui(Integer cid);

    User listUser(User user);
}
